<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">Gestión de esquemas</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    
    <ol class="breadcrumb">
        <li><a href="<?= BASE_DIR ?>">Home</a></li>
        <li><a href="<?= BASE_DIR ?>?url=configMain">Gestión</a></li>
        <li class="active">Esquemas</li>
    </ol>
    
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    Esquemas
                </div>
                
                <!-- /.panel-heading -->
                <div class="panel-body">
                    
                    <button type="button" class="btn btn-link" data-target="#schemeModalDlg" onClick="GApp.Schemes.newScheme ('<?= BASE_DIR ?>')">
                        Nuevo
                    </button>
                    
                    <!-- Modal -->
                    <div class="modal fade" id="schemeModalDlg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                    <h4 class="modal-title" id="schemeModalLabel"></h4>
                                </div>
                                <div class="modal-body" id="schemeModalBody"></div>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                                    <button type="button" class="btn btn-primary" id="schemeAcceptModalDlg">Aceptar</button>
                                </div>
                            </div>
                            <!-- /.modal-content -->
                        </div>
                        <!-- /.modal-dialog -->
                    </div>
                    <!-- /.modal -->
                    
                    <!--
                    <div class="progress progress-striped active">
                        <div class="progress-bar"  role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"></div>
                    </div>
                    -->
                    
                    <div class="table-responsive">
                        <table class="table table-striped table-bordered table-hover" id="dataTables-schemes">
                            <thead>
                                <tr>
                                    <th></th>
                                    <th>Nombre</th>
                                    <th>Descripción</th>
                                </tr>
                            </thead>
                            <tbody></body>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /.row -->
</div>

<!-- /#page-wrapper -->